<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
	<head>
		<title>Inspirasi Jakarta Administrator</title>
		<meta charset="utf-8" />
		<link rel="stylesheet" href="<?=$base_url?>assets/css/cpanel.css" type="text/css" />
		<link rel="stylesheet" type="text/css" href="<?=$base_url?>assets/easyui/themes/pepper-grinder/easyui.css">
		<link rel="stylesheet" type="text/css" href="<?=$base_url?>assets/easyui/themes/icon.css">
		<link rel="stylesheet" type="text/css" href="<?=base_url()?>assets/js/lightbox/themes/default/jquery.lightbox.css" />
		
		<!--<script type="text/javascript" src="<?=$base_url?>assets/js/jquery-1.8.1.min.js"></script> -->
		<script type="text/javascript" src="<?=$base_url?>assets/js/jquery-1.8.2.min.js"></script>
		<script type="text/javascript" src="<?=$base_url?>assets/easyui/jquery.easyui.min.js"></script>
		
		<script type="text/javascript" src="<?=$base_url?>assets/js/libraries.js"></script>
		<script type="text/javascript" src="<?=$base_url?>assets/js/jquery.blockUI.js"></script>
		<script type="text/javascript" src="<?=$base_url?>assets/tiny_mce/tiny_mce.js"></script>
		<script type="text/javascript" src="<?=base_url()?>assets/js/lightbox/jquery.lightbox.min.js"></script>
		
				
		<script>
			host = "<?=$base_url?>";
			$('.lightbox').lightbox();
			
        </script>
	</head>
	<body>
		<div id="wrapper">
			<div id="nav">
				<img src="<?=$base_url?>assets/images/logo.png" width="150"><br><br><br>
				<ul>
					<li> <a href="<?=$base_url?>ctrlpnl/beranda">Beranda</a> </li>
					<li> <a href="<?=$base_url?>ctrlpnl/artikel">Artikel</a> </li> 
					<?php if($this->session->userdata('accesible') == 1){?>
					<!--<li> <a href="<?=$base_url?>ctrlpnl/galeri">Galeri</a> </li> -->
					<li> <a href="<?=$base_url?>ctrlpnl/kategori">Kategori Artikel</a> </li> 
					<li> <a href="<?=$base_url?>ctrlpnl/pengguna">Pengguna</a> </li> 
					<?php }?>
					<li> <a href="#" id='ubah_password'>Ubah Password</a> </li>
					<li> <a href="<?=$base_url?>ctrlpnl/dologout" onClick="return confirm('Are You Sure Want to Logout?');">Logout</a> </li> 				
				</ul>
			</div>
			<div id="content">
				<p><strong class="welcome"><i><?=$this->session->userdata('fullname')?></i> - <?=$this->session->userdata('tanggal_indonesia')?></strong></p>
				<?php require_once($module."/main.php"); ?>
			</div>
			
			<div id="footer"> 
				<footer>&copy; 2012  Inspirasi Jakarta. Hak Cipta Dilindungi Undang-Undang</footer>
			</div>
		</div>
	</body>
</html>
<script>
	var id_pengguna = <?=$this->session->userdata('stateid-user')?>;
	$('#ubah_password').live('click',function(){
		$.post(host+'ctrlpnl/pengguna/ubahpassword/form',{},function(response){
			mywindow(response,'Ubah Password Anda',frmWidth-850,frmHeight-530);
		})
	});
</script>